package projectsupporter.common.logic;

import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;

public final class GlobalInfo {
	
	public static boolean workspaceON;
	static
	{
		try {
			IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
			workspaceON = true;
		} catch (Exception e) {
			workspaceON = false;
		}
	}

	public final static String PLUGIN_ID="ProjectSupporter";
	
	public final static String BASE_ID="Base";
	
	public static String PRJ_NAME;
	
	public static String DBConfigFileName="Config-basesystem-hibernate.xml";
	public static String DBServiceFileName="Config-basesystem-service.xml";
	public static String DBPOJOFileName="Config-basesystem-pojo.xml";
	public static String DBConfigFilePath="/config/configs/spring/base";
	
	public static String pojoClassMapName="CommonConstants.java";
	public static String pojoClassMapFilePath="/src/jp/co/sn/system/common/constants";
	public static String pojoClassMapModelStr="//<##POJO_CLASSES##>";
}
